package com.miracle.schedule.web.task;

import com.miracle.schedule.dynamicSchedule.Constants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @Description
 * @Author miracle
 * @Date 2021/11/2 15:02
 * @Version 1.0
 */
@Component
public class TestTriggerTask3 implements Runnable {
    private static final Logger log = LoggerFactory.getLogger(TestTriggerTask3.class);
    public String name = "task3Str";
    @Override
    public void run() {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat(Constants.DATE_FORMAT_1_24);
        log.debug(simpleDateFormat.format(new Date())+" ==> testTriggerTask3 schedule doing . . .");
    }
}
